package com.loubobooo.personal.blog.entity.vo;

import com.loubobooo.personal.blog.entity.Category;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 文章分类目录的信息的扩展
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class CategoryVO extends Category {
    //分类对应的文章数
    private Integer articleCount;

    //分类的父分类名称
    private String categoryPname;

}
